package com.platform.api.dao;

import org.apache.ibatis.annotations.Mapper;

import com.platform.api.entity.AddressVo;
import com.platform.common.dao.BaseDao;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 */
@Mapper
@Repository
public interface ApiAddressMapper{ //} extends BaseDao<AddressVo> {
    int save(AddressVo t);
    void save(Map<String, Object> map);
    void saveBatch(List<AddressVo> list);
    int update(AddressVo t);
    int update(Map<String, Object> map);
    int delete(Object id);
    int delete(Map<String, Object> map);
    int deleteBatch(Object[] id);
    AddressVo queryObject(Object id);
    List<AddressVo> queryList(Map<String, Object> map);
    List<AddressVo> queryList(Object id);
    int queryTotal(Map<String, Object> map);
    int queryTotal();
}
